import { EmptyContent } from '@/layout/components'

export default {
  path: 'system',
  name: 'system',
  component: EmptyContent,
  meta: {
    title: '系统管理',
    requiresAuth: true,
    icon: 'icon-settings',
    order: 0
  },
  children: [
    {
      path: 'service',
      component: () => import('@/views/settings/service/index.vue'),
      name: 'service',
      meta: { title: '客服管理', order: 4 }
    },
    {
      path: 'feedback',
      name: 'feedback',
      component: () => import('@/views/settings/feedback/index.vue'),
      meta: { title: '意见反馈', order: 3 }
    },
    {
      path: 'dict',
      name: 'dict',
      component: () => import('@/views/settings/dictionaries/index.vue'),
      meta: { title: '字典管理', order: 2 }
    },
    {
      path: 'role',
      component: () => import('@/views/settings/role/index.vue'),
      name: 'role',
      meta: { title: '角色管理', order: 1 }
    },
    {
      path: 'trial',
      component: () => import('@/views/settings/trial/index.vue'),
      name: 'Trial',
      meta: { title: '试用管理', order: 5 }
    },
    {
      path: 'update',
      component: () => import('@/views/settings/update/index.vue'),
      name: 'Update',
      meta: { title: '更新管理', order: 6, hideInMenu: true }
    }
  ]
}
